package lucius.work.service;

import java.util.List;

import org.springframework.stereotype.Service;

@Service("baseService")
public interface IBaseService<T> {

	public T getById(Class<T> clazz, Integer id);

	public void add(T t);

	public List<T> findAll(Class<T> clazz);

	public void update(T t);

	public void delete(T t);

}
